using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Fields
{
    /// <summary>
    /// <para>Enable COGO</para>
    /// <para>Enables COGO on a line feature class and adds COGO fields and COGO-enabled labeling to a line feature class. COGO fields store  dimensions  that are used to create line features in relation to each other.</para>
    /// <para>启用线要素类上的 COGO，并将 COGO 字段和启用 COGO 的标注添加到线要素类中。 COGO 字段存储用于创建彼此相关的线要素的尺寸。</para>
    /// </summary>    
    [DisplayName("Enable COGO")]
    public class EnableCOGO : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public EnableCOGO()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_line_features">
        /// <para>Input Line Features</para>
        /// <para>The line feature class that will be COGO enabled.</para>
        /// <para>将启用 COGO 的线要素类。</para>
        /// </param>
        public EnableCOGO(object _in_line_features)
        {
            this._in_line_features = _in_line_features;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Enable COGO";

        public override string CallName => "management.EnableCOGO";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_line_features, _updated_line_Features];

        /// <summary>
        /// <para>Input Line Features</para>
        /// <para>The line feature class that will be COGO enabled.</para>
        /// <para>将启用 COGO 的线要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Line Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_line_features { get; set; }


        /// <summary>
        /// <para>Output Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_line_Features { get; set; }


        public EnableCOGO SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}